import request from '@/utils/request'

// 查询达播异常订单列表
export function listBiAbnormalOrder(query) {
  return request({
    url: '/live/BiAbnormalOrder/list',
    method: 'get',
    params: query
  })
}

// 查询达播异常订单详细
export function getBiAbnormalOrder(id) {
  return request({
    url: '/live/BiAbnormalOrder/' + id,
    method: 'get'
  })
}

// 新增达播异常订单
export function recoverAbnormal(data) {
  return request({
    url: '/live/BiAbnormalOrder/recoverAbnormal/' + data,
    method: 'post',
    // data: data
  })
}
export function addBiAbnormalOrder(data) {
  return request({
    url: '/live/BiAbnormalOrder',
    method: 'post',
    data: data
  })
}
// 修改达播异常订单
export function updateBiAbnormalOrder(data) {
  return request({
    url: '/live/BiAbnormalOrder',
    method: 'put',
    data: data
  })
}

// 删除达播异常订单
export function delBiAbnormalOrder(id) {
  return request({
    url: '/live/BiAbnormalOrder/' + id,
    method: 'delete'
  })
}
